package samsung.sds.survey.surveyStatistics.service;

import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import samsung.sds.system.common.baseQuery.BaseServiceInterface;
import samsung.sds.survey.surveyStatistics.model.UserAnswerStatus;

/**
 * @author  hulongtao 
 * @createDate 2016/01/27
 * */
public interface UserAnswerStatusService extends BaseServiceInterface<UserAnswerStatus> {

	/**
	 * 导出问卷调查明细数据,当前查询条件下全部数据查询
	 * 
	 * @param userAnswerStatus
	 * */
	public List<UserAnswerStatus> exportList(UserAnswerStatus userAnswerStatus) ;

	/**
	 * 导出Excel方法
	 * 
	 * @param userAnswerStatus
	 * @throws Exception 
	 * */
	public void processVotedUserExport(HttpServletRequest request,
			HttpServletResponse response, UserAnswerStatus userAnswerStatus) throws Exception ;

	/**
	 * 获得问卷调查统计分析表头汇总信息方法
	 * 
	 * @param userAnswerStatus
	 * */
	public UserAnswerStatus getDetailInfo(UserAnswerStatus userAnswerStatus) ;

	/**
	 * 画饼图时，后台取数据，数据包含<投票邀请人数，已投票人数，未投票人数>
	 * 
	 * @param surveyId
	 * */
	public Map<String, Integer> getPieInfo(String surveyId) ;
	
}
